package jvan.org.chapter7_7;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;

@SpringBootApplication
public class Chapter77Application {
	// http://127.0.0.1:8080/action.htm	访问地址
	@RequestMapping(value = "/search")
	public Person search(String personName){
		return new Person(personName,"heifei",32);
	}
	public static void main(String[] args) {
		SpringApplication.run(Chapter77Application.class, args);
	}
}
